package com.qfedu.mbti.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * MRTI测试表(MbtiExam)表实体类
 *
 * @author makejava
 * @since 2024-11-04 11:43:39
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@TableName("t_mbti_exam")
public class MbtiExam extends Model<MbtiExam> {
    //序号，主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户ID
    private Integer uid;
    //标题
    private String title;
    //类型：mbti
    private String type;
    //人格字母
    private String alphabet;
    //人格英文
    private String vocabulary;
    //人格中文
    private String occupation;
    //人格摘要
    private String summarize;
    //人格概述
    private String descc;
    //人格品质
    private String characteristic;
    //状态：未开始 进行中 已结束
    private String status;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

    public MbtiExam(Integer uid, String title, String type) {
        this.uid = uid;
        this.title = title;
        this.type = type;
        this.status="未开始";
        this.createTime=new Date();
        this.updateTime=new Date();
    }
}